import request from '@/utils/request'

/**
 * 获取参数列表
 */
export const getParameterListApi = (data) => {
    return request({
        url: '/admin/argument/list',
        method: 'post',
        data
    })
}

/**
 * 添加参数
 */
export const addParameterApi = (data) => {
    return request({
        url: '/admin/argument/add',
        method: 'post',
        data
    })
}

/**
 * 编辑参数
 */
export const editParameterApi = (data) => {
    return request({
        url: '/admin/argument/edit',
        method: 'post',
        data
    })
}

